package com.develop.alarm.dao;


import com.develop.alarm.domain.RealtimealarmDO;
import com.develop.common.utils.Query;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-06-26 15:05:00
 */
@Mapper
public interface RealtimealarmDao {

	RealtimealarmDO get(Long alarmseq);
	
	List<RealtimealarmDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RealtimealarmDO realtimealarm);
	
	int update(RealtimealarmDO realtimealarm);
	
	int remove(Long alarmSeq);
	
	int batchRemove(Long[] alarmseqs);

    List<RealtimealarmDO> activeList(Query query);

	int activeCount(Query query);
}
